Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

UI_redesign_pt1 #19

Merged
merged 3 commits into from
Nov 10, 2023
Merged

UI_redesign_pt1 #19

merged 3 commits into from
Nov 10, 2023

Conversation

AllierByron
Copy link
Collaborator

Pt1.
Change the whole UI, pic:
image

Same functionality, a small change. Now the 'Send' button is under another button, hiding it at first glance to make the user focus on the code writing (examples). When there are enough examples provided you can click the button and the 'Add example' button will be changed for a 'send request' button.

Still working on a different implementation of an already existing feature. Will include a JSON file where various examples will be stored, the user will have a button to load one of this examples.

@AllierByron AllierByron changed the title UI_redisign_pt1 UI_redesign_pt1 Nov 10, 2023
@AllierByron AllierByron marked this pull request as ready for review November 10, 2023 16:33
@AllierByron AllierByron requested review from oscarfgq and geoperez and removed request for oscarfgq November 10, 2023 16:33
src/app/components/Container.tsx Show resolved Hide resolved
await send(examples, userInput);
};

const useTheMode = (bol: boolean) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename and avoid using useXXX for methods that aren't hooks. You are triggering some checks because of this.

@geoperez geoperez merged commit e55a0ae into master Nov 10, 2023
1 check passed
@geoperez geoperez deleted the UI_redesign branch November 10, 2023 17:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants